package com.zp95sky.cloud.starter.knife4j.micro.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * Swagger 配置文档信息
 * @author 华夏紫穹
 */
@Data
@ConfigurationProperties(prefix = "spring.cloud.fenghuang.swagger")
public class SwaggerProperties {

    private String basePackage;

    private String title;

    private String description;

    private ContactProperties contact = new ContactProperties();

    private String version;

    @Data
    public static class ContactProperties {

        private String name;

        private String url;

        private String email;

    }

}
